package com.qf.demo.votingSystem.vo;

import java.util.HashMap;

public class ResultVo extends HashMap {
    public static ResultVo error(){

        final ResultVo resultVo = new ResultVo();



        return resultVo;

    }


    public static ResultVo ok(){

        final ResultVo resultVo = new ResultVo();



        return resultVo;

    }

    public static ResultVo ok(Object data,String phoneNum){

        final ResultVo resultVo = new ResultVo();

        resultVo.put("phoneNum",phoneNum);



        resultVo.put("data",data);

        return resultVo;

    }
}
